package org.supda.system.util.search;

import java.util.ArrayList;
import java.util.List;

/**
 * DataTablePageUtil辅助模糊查询类
 * @author SEELE
 *
 * { "name": "fuzzySearch", "value": {"value":$("#unknown").val(), "datatype":["email","username","telephone"], "islike":true, "isand":false }},
 */
public class FuzzySearch {
	//是否模糊查询
	private boolean isLike = true;
	//是否逻辑And连接
	private boolean isAnd = false;
	//模糊值
	private String value;
	//涉及到的字段
	private List<String> datatype = new ArrayList<String>();
	
	public boolean isLike() {
		return isLike;
	}
	public void setLike(boolean isLike) {
		this.isLike = isLike;
	}
	public boolean isAnd() {
		return isAnd;
	}
	public void setAnd(boolean isAnd) {
		this.isAnd = isAnd;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public List<String> getDatatype() {
		return datatype;
	}
	public void setDatatype(List<String> datatype) {
		this.datatype = datatype;
	}
	
}
